package sum;

import java.util.Scanner;

public class Sum{
    int a;
    int b;
int c;
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        while (true){
            System.out.println("请输入第一个数");
            int a=scanner.nextInt();
            System.out.println("请输入第二个数");
            int b=scanner.nextInt();
            System.out.println("加");sum(a,b);
            System.out.println("减");jian(a,b);
            System.out.println("乘");cheng(a,b);
            System.out.println("除");chu(a,b);
        }

    }

    static int  sum(int a,int b){
        System.out.println(a+b);
        return a+b;
    }
    static int  jian(int a,int b){
        System.out.println(a-b);
        return a-b;
    }
    static int  cheng(int a,int b){
        System.out.println(a*b);
        return a*b;
    }
    static int  chu(int a,int b){
        System.out.println(a/b);
        return a/b;
    }


}
